package com.qiche.mapper;

import com.qiche.common.MyMapper;
import com.qiche.dto.Voucher1Dto;
import com.qiche.dto.VoucherDto;
import com.qiche.model.Voucher;
import com.qiche.model.VoucherRepository;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface VoucherMapper extends MyMapper<Voucher> {

    List<Voucher1Dto> selectByMerchantId(@Param("merchantId") Long merchantId, @Param("storeMemberId") Long storeMemberId);
}